/**
 * @name: actions
 * @Description:
 * @Author: 方琦
 * @Date: 2022/6/12 17:05
 **/
export default {
    setUserName({commit}, name) {//修改用户名字
        commit('setUserName', name)
    },
    setIsBindDoctor({commit}, did) {//绑定医生
        commit('setIsBindDoctor', did)
    },
    // setIsRecord({commit}, recordMsg) {
    //     commit('setIsRecord', recordMsg)
    // },
    setUserMoney({commit}, money) {
        commit('setUserMoney', money)
    },
    loginSuccess({commit}, data) {
        commit('loginSuccess', data);
    },
    outLogin({commit}) {
        commit('outLogin')
    },
    setToken({commit}, token) {
        commit('setToken', token)
    },
}
